/**
 * losnote.com Inc.
 * Copyright (c) 2013-2013 All Rights Reserved.
 */
package com.losenote.model;

import java.util.Date;

import com.losenote.enums.FileRelTypeEnum;
import com.losenote.enums.FileTypeEnum;

/**
 * 关联文件类
 * 
 * @author danjingyu
 * @version $Id: AttachFile.java, v 0.1 2013-8-28 下午4:07:51 danjingyu Exp $
 */
public class AttachFile extends ToString {

    /**默认序列*/
    private static final long serialVersionUID = 1L;

    /** ID */
    private int               id;

    /** 文件名称 **/
    private String            fileName;

    /** 文件类型 */
    private FileTypeEnum      fileType;

    /**文件关联类型*/
    private FileRelTypeEnum   relType;

    /**文件id*/
    private int               relId;

    /** 创建时间 */
    private Date              gmtCreate;

    /**上传者*/
    private String            uploader;

    /**文件路径*/
    private String            filePath;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public FileTypeEnum getFileType() {
        return fileType;
    }

    public void setFileType(FileTypeEnum fileType) {
        this.fileType = fileType;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getUploader() {
        return uploader;
    }

    public void setUploader(String uploader) {
        this.uploader = uploader;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public FileRelTypeEnum getRelType() {
        return relType;
    }

    public void setRelType(FileRelTypeEnum relType) {
        this.relType = relType;
    }

    public int getRelId() {
        return relId;
    }

    public void setRelId(int relId) {
        this.relId = relId;
    }

}
